|
![](/i/fill.gif) |
I want to do this:
#declare Spike =
cylinder {
0, y, 0.1
strength 0.3
}
#declare Ball =
sphere {
<0, 0, 0>, 0.5
strength 0.5
}
#macro InsertComp(Component, Position)
object { // a "component {" keyword would be useful here
Component
translate Position
}
#end // macro InsertComp
blob {
threshold 0.3
InsertComp(Ball, <0, 1, 0>)
InsertComp(Spike, <0, 1, 0>)
pigment { color <1, 0, 0> }
}
(Well, not really but this is a
simplification of what I am trying to do.)
But I only get this error message:
"error: No matching } in cylinder, strength found instead"
=(
Any suggestions ?
Tor Olav
--
mailto:tor### [at] hotmail com
http://www.crosswinds.net/~tok/tokrays.html
Post a reply to this message
|
![](/i/fill.gif) |